package com.git.smp.dao;

import java.util.List;

import com.git.smp.entity.SmpEnvironment;
import com.git.smp.entity.SmpEnvironmentKey;

public interface SmpEnvironmentMapper {
    int deleteByPrimaryKey(SmpEnvironmentKey key);

    int insert(SmpEnvironment record);

    int insertSelective(SmpEnvironment record);

    SmpEnvironment selectByPrimaryKey(SmpEnvironmentKey key);

    int updateByPrimaryKeySelective(SmpEnvironment record);

    int updateByPrimaryKey(SmpEnvironment record);
    
    List<SmpEnvironment> getEnvironmentInfoByPage(SmpEnvironment smpEnvironment);
    
    List<SmpEnvironment> getEnvironmentInfoByPageNew(SmpEnvironment smpEnvironment);
    
    List<String> getSystemHistoryAddr(SmpEnvironment smpEnvironment);
    
    int check(SmpEnvironment smpEnvironment);
}